package com.eric.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ProfessionalCategoryVO implements Serializable {

    private Integer id;
    @NotBlank(message = "专业名称不能为空")
    private String professionalName;

    private String description;
}
